package com.sample.api;

import java.io.IOException;

import com.swak.annotation.Get;
import com.swak.annotation.RestService;
import com.swak.entity.Model;

/**
 * 输出页面
 * 
 * @author Auto Generator
 * @date 2022-04-21T20:47:07.509267200
 */
@RestService(path = "/api/swak/page", value = "swakPageApi")
public class PageApi {

	/**
	 * 输出页面模板
	 *
	 * @return Result
	 * @throws IOException yichang
	 */
	@Get("/index")
	public Model index() throws IOException {
		return Model.use("/index.html");
	}
}
